package com.ficus.road.maintain.authority.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Set;

/**
 * @author xiawen yang
 * @date 2021/8/27 上午11:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginResponse {

    private String userId;

    private String userName;

    private Set<String> frontConfigs;

    private Set<String> roleIdList;

    private Set<String> roleNameList;

    private List<String> carIdList;
    /**
     * 即将过期（期限外为Ture，期限内为False）
     */
    private boolean toBeExpired = false;
    /**
     * 密码输入错误次数
     */
    private int errorsNumber;
    /**
     * 账户锁定时间
     */
    private Long lockTime;
}
